<?php
/**
 * common model file Created by PhpStorm.
 * User: wumengmeng
 * Date: 2020/04/21
 * Time: 16:03
 */

namespace HiCommon\Model;

class ShopAccount extends Base
{
    
    protected $table = 'shop_account';
    
    protected $guarded = [];
    
    //public $timestamps = false;
    
    /**
     * 应该被调整为日期的属性
     *
     * @var array
     */
    protected $dates = [
    ];


    /**
     * 关联shop表
     *
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     * @author wumengmeng <wu_mengmeng@foxmail.com>
     */
    public function shop(){
        return $this->belongsTo(Shop::class,'id','id');
    }



    
  
}